package com.kingtsoft.study.model;

import java.io.Serializable;

/**
 *
 * @ClassName: StudyUser
 * @Description: 用户model
 * @author: shenlx
 * @date: 2017年3月28日 下午5:17:12
 */
public class StudyUser implements Serializable{

	/**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;
	/**id*/
    private String id;
    /**用户名*/
    private String username;
    /**密码*/
    private String password;
    /**用户类型，1表示老师，0表示学生*/
    private String userType;

    public StudyUser(String id, String username, String password, String userType) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.userType = userType;
    }

    public StudyUser() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }
}
